/* ==================
         表单
 ==================== */

.cu-form-group {
    background-color: #ffffff;
    padding: 1*1upx 30*1upx;
    display: flex;
    align-items: center;
    min-height: 100*1upx;
    justify-content: space-between;
}

//.cu-form-group + .cu-form-group {
//    border-top: 1*1upx solid $cu-border-color;
//}

.cu-form-group .title {
    text-align: justify;
    padding-right: 30*1upx;
    font-size: 30*1upx;
    position: relative;
    height: 60*1upx;
    line-height: 60*1upx;
}

.cu-form-group input {
    flex: 1;
    font-size: 30*1upx;
    color: #555;
    padding-right: 20*1upx;
}

.cu-form-group > text[class*="cuIcon-"] {
    font-size: 36*1upx;
    padding: 0;
    box-sizing: border-box;
}

.cu-form-group textarea {
    margin: 32*1upx 0 30*1upx;
    height: 4.6em;
    width: 100%;
    line-height: 1.2em;
    flex: 1;
    font-size: 28*1upx;
    padding: 0;
}

.cu-form-group.align-start .title {
    height: 1em;
    margin-top: 32*1upx;
    line-height: 1em;
}

.cu-form-group picker {
    flex: 1;
    padding-right: 40*1upx;
    overflow: hidden;
    position: relative;
}

.cu-form-group picker .picker {
    line-height: 100*1upx;
    font-size: 28*1upx;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    text-align: right;
}

.cu-form-group picker::after {
    font-family: cuIcon;
    display: block;
    content: "\e6a3";
    position: absolute;
    font-size: 34*1upx;
    // color: #8799a3;
    line-height: 100*1upx;
    width: 60*1upx;
    text-align: center;
    top: 0;
    bottom: 0;
    right: -20*1upx;
    margin: auto;
}

.cu-form-group textarea[disabled],
.cu-form-group textarea[disabled] .placeholder {
    color: transparent;
}


// 修改
.cu-form-group + .cu-form-group {
    border-top: 1*1upx solid $cu-border-color;
}

.cu-form-group:last-child.horizontal-bottom {
    border-bottom: 1*1upx solid $cu-border-color;
}

form {
    .cu-form-group + .cu-form-group {
        position: relative;
        border-top: none;

        &:after {
            content: " ";
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            height: 1px;
            border-top: 1px solid $cu-border-color;
            color: $cu-border-color;
            transform-origin: 0 0;
            transform: scaleY(0.5);
        }
    }

    &.sm-border {
        .cu-form-group + .cu-form-group {
            &:after {
                left: 15*2upx;
                right: 15*2upx;
            }
        }
    }

    &.lsm-border {
        .cu-form-group + .cu-form-group {
            &:after {
                left: 15*2upx;
            }
        }
    }

    &.rsm-border {
        .cu-form-group + .cu-form-group {
            &:after {
                right: 15*2upx;
            }
        }
    }
}
